package com.lazyfish.superdir.dao;

import com.lazyfish.superdir.entity.WordInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
@Primary
public interface WordInfoDao {
    int getTotal();
    WordInfo getWordInfo(int i);
    List<WordInfo> getWordInfoByName(String name);
    WordInfo getWordInfo2(int i);
}
